GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( da5f76...59bb8c )
by Keith
76:35
created

22pageview-view-master-data.js ➔ Initialize   A

Complexity

Conditions 2

Size

Total Lines 5
Code Lines 3

Duplication

Lines 5
Ratio 100 %

Importance

Changes 0
Metric Value
cc 2
eloc 3
dl 5
loc 5
rs 10
c 0
b 0
f 0
1 View Code Duplication
"use strict";
2
app.controller('viewDepartmentController', ['$scope', 'Security', function ($scope, Security, $rootScope) {
3
    function Initialize(){
4
        var entryForm = {};
5
6
        $scope.entryForm = entryForm;
7
    }
8
    Initialize();
9
10
    $scope.EventListener = function(scope, iElement, iAttrs, controller){
11
        iElement.ready(function() {
12
13
        })
14
    }
15
16
    $scope.SetDefaultValue = function(scope, iElement, iAttrs, controller){
17
    }
18
19
    $scope.StatusChange = function(fieldName, newValue, newObj, scope, iElement, iAttrs, controller){
20
        if(fieldName == "DepartmentCode")
21
            newObj.DepartmentCode = newObj.DepartmentCode.toUpperCase(); 
22
    }
23
24
    $scope.ValidateBuffer = function(scope, iElement, iAttrs, controller){
25
        return true;
26
    }
27
}]);
28